<template>
  <div id="app">
    <router-view />
    <div class="footer">
      <div>{{ address }}{{ copyright }}</div>
    </div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  name: "App",
  computed: {
    ...mapGetters(["address", "copyright"]),
  },
};
</script>
<style lang="scss" scoped>
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  line-height: 2.4em;
  text-align: center;
  font-size: 12px;
  color: #666;
  background-color: #fff;
}
</style>
